package net.wsnetwork.jawa.master;

import java.rmi.Naming;

import net.wsnetwork.jawa.common.Constants;
import net.wsnetwork.jawa.common.PermissiveSecurityManger;

public class MasterMain {
    public static void main(String[] args) throws Exception {
        System.setSecurityManager(new PermissiveSecurityManger());

        Master master = new Master();
        Naming.rebind(Constants.MASTER_SERVICE_NAME, master);
    }
}
